package entity;

/**
 *
 * @author Noi
 */
public class Class {

    private String classID;
    private int classRoomBlockID;
    private String className;
    private int fromYear;
    private int toYear;
    private boolean status;

    public Class(String classID, int classRoomBlockID, String className, int fromYear, int toYear, boolean status) {
        this.classID = classID;
        this.classRoomBlockID = classRoomBlockID;
        this.className = className;
        this.fromYear = fromYear;
        this.toYear = toYear;
        this.status = status;
    }

    public String getClassID() {
        return classID;
    }

    public void setClassID(String classID) {
        this.classID = classID;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getClassRoomBlockID() {
        return classRoomBlockID;
    }

    public void setClassRoomBlockID(int classRoomBlockID) {
        this.classRoomBlockID = classRoomBlockID;
    }

    public int getFromYear() {
        return fromYear;
    }

    public void setFromYear(int fromYear) {
        this.fromYear = fromYear;
    }

    public int getToYear() {
        return toYear;
    }

    public void setToYear(int toYear) {
        this.toYear = toYear;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return this.className;
    }
}
